package com.shop.shoppojo.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * 商品图片实体类
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GoodsImages implements Serializable {
    //序列化版本号
    @Serial
    private static final long serialVersionUID = 1L;

    //主键
    private Long id;

    //图片路径
    private String externalUrl;

    //商品id
    private Long goodsId;
}
